﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_ICM_Bidder
    {
        //private int ICM_BIDDER_SEQ;
        //private Nullable<int> ICM_CON_SEQ;
        //private Nullable<int> ICM_BID_SEQ;
        //private Nullable<int> ICM_PR_SEQ;
        //private Nullable<int> ICM_BIDDER_TRAN_SEQ;
        //private Nullable<DateTime> ICM_RECEIVE_DATE;
        //private Nullable<TimeSpan> ICM_RECEIVE_TIME;
        //private string RECEIVE_RECEIPT_NO;
        //private Nullable<DateTime> ICM_OFFER_DATE;
        //private Nullable<TimeSpan> ICM_OFFER_TIME;
        //private Nullable<DateTime> COLLATERAL_RETURN_DATE;
        //private string COLLATERAL_RETURN_STATUS;
        //private Nullable<DateTime> ICM_BIDDER_DATE;
        //private Nullable<DateTime> DUE_DATE;
        //private Nullable<int> DUE_DAY;
        //private Nullable<int> ICM_DUR_TYPE_SEQ;
        //private Nullable<double> VAT_PERCENT;
        //private Nullable<int> ICM_VAT_SEQ;
        //private string RECEIVE_STATUS;
        //private string OFFER_STATUS;
        //private string WINNER_STATUS;

        //private string ICM_CON_NAME_TH;

        //private int ICM_BID_OFF_SEQ;
        //private Nullable<int> ICM_BID_REC_SEQ;
        //private Nullable<int> ICM_BID_SEQ;
        //private Nullable<DateTime> ICM_BID_OFF_DATE;
        //private Nullable<TimeSpan> ICM_BID_OFF_TIME;
        //private Nullable<DateTime> COLLATERAL_RETURN_DATE;
        //private string COLLATERAL_RETURN_STATUS;

        //private Nullable<int> ICM_CON_SEQ;
        //private string ICM_CON_NAME_TH;

        //private Nullable<int> CREATED_BY;
        //private Nullable<DateTime> CREATED_WHEN;
        //private Nullable<int> UPDATED_BY;
        //private Nullable<DateTime> UPDATED_WHEN;

        public M_ICM_Bidder()
        {

        }

        //public M_ICM_Bidder(
        //    int ICM_BIDDER_SEQ
        //    , Nullable<int> ICM_CON_SEQ
        //    , Nullable<int> ICM_BID_SEQ
        //    , Nullable<int> ICM_PR_SEQ
        //    , Nullable<int> ICM_BIDDER_TRAN_SEQ
        //    , Nullable<DateTime> ICM_RECEIVE_DATE
        //    , Nullable<TimeSpan> ICM_RECEIVE_TIME
        //    , string RECEIVE_RECEIPT_NO
        //    , Nullable<DateTime> ICM_OFFER_DATE
        //    , Nullable<TimeSpan> ICM_OFFER_TIME
        //    , Nullable<DateTime> COLLATERAL_RETURN_DATE
        //    , string COLLATERAL_RETURN_STATUS
        //    , Nullable<DateTime> ICM_BIDDER_DATE
        //    , Nullable<DateTime> DUE_DATE
        //    , Nullable<int> DUE_DAY
        //    , Nullable<int> ICM_DUR_TYPE_SEQ
        //    , Nullable<double> VAT_PERCENT
        //    , Nullable<int> ICM_VAT_SEQ
        //    , string RECEIVE_STATUS
        //    , string OFFER_STATUS
        //    , string WINNER_STATUS
        //    , string ICM_CON_NAME_TH
            
        //    , Nullable<int> CREATED_BY
        //    , Nullable<DateTime> CREATED_WHEN
        //    , Nullable<int> UPDATED_BY
        //    , Nullable<DateTime> UPDATED_WHEN)
        //{
        //    this.ICM_BIDDER_SEQ = ICM_BIDDER_SEQ;
        //    this.ICM_CON_SEQ = ICM_CON_SEQ;
        //    this.ICM_BID_SEQ = ICM_BID_SEQ;
        //    this.ICM_PR_SEQ = ICM_PR_SEQ;
        //    this.ICM_BIDDER_TRAN_SEQ = ICM_BIDDER_TRAN_SEQ;
        //    this.ICM_RECEIVE_DATE = ICM_RECEIVE_DATE;
        //    this.ICM_RECEIVE_TIME = ICM_RECEIVE_TIME;
        //    this.RECEIVE_RECEIPT_NO = RECEIVE_RECEIPT_NO;
        //    this.ICM_OFFER_DATE = ICM_OFFER_DATE;
        //    this.ICM_OFFER_TIME = ICM_OFFER_TIME;
        //    this.COLLATERAL_RETURN_DATE = COLLATERAL_RETURN_DATE;
        //    this.COLLATERAL_RETURN_STATUS = COLLATERAL_RETURN_STATUS;
        //    this.ICM_BIDDER_DATE = ICM_BIDDER_DATE;
        //    this.DUE_DATE = DUE_DATE;
        //    this.DUE_DAY = DUE_DAY;
        //    this.ICM_DUR_TYPE_SEQ = ICM_DUR_TYPE_SEQ;
        //    this.VAT_PERCENT = VAT_PERCENT;
        //    this.ICM_VAT_SEQ = ICM_VAT_SEQ;
        //    this.RECEIVE_STATUS =RECEIVE_STATUS;
        //    this.OFFER_STATUS = OFFER_STATUS;
        //    this.WINNER_STATUS = WINNER_STATUS;
        //    this.ICM_CON_NAME_TH = ICM_CON_NAME_TH;

        //    this.CREATED_BY = CREATED_BY;
        //    this.CREATED_WHEN = CREATED_WHEN;
        //    this.UPDATED_BY = UPDATED_BY;
        //    this.UPDATED_WHEN = UPDATED_WHEN;
        //}

        public int icm_bidder_seq
        {
            get;
            set;
        }

        public Nullable<int> icm_con_seq
        {
            get;
            set;
        }

        public Nullable<int> icm_bid_seq
        {
            get;
            set;
        }

        public Nullable<int> icm_pr_seq
        {
            get;
            set;
        }

        public Nullable<int> icm_bidder_tran_seq
        {
            get;
            set;
        }

        public Nullable<DateTime> icm_receive_date
        {
            get;
            set;
        }

        public Nullable<TimeSpan> icm_receive_time
        {
            get;
            set;
        }

        public string receive_receipt_no
        {
            get;
            set;
        }

        public Nullable<DateTime> icm_offer_date
        {
            get;
            set;
        }

        public Nullable<TimeSpan> icm_offer_time
        {
            get;
            set;
        }

        public Nullable<DateTime> collateral_return_date
        {
            get;
            set;
        }

        public string collateral_return_status
        {
            get;
            set;
        }

        public Nullable<DateTime> icm_bidder_date
        {
            get;
            set;
        }

        public Nullable<DateTime> due_date
        {
            get;
            set;
        }

        public Nullable<int> due_day
        {
            get;
            set;
        }

        public Nullable<int> icm_dur_type_seq
        {
            get;
            set;
        }

        public Nullable<double> vat_percent
        {
            get;
            set;
        }

        public Nullable<int> icm_vat_seq
        {
            get;
            set;
        }

        public string receive_status
        {
            get;
            set;
        }

        public string offer_status
        {
            get;
            set;
        }

        public string winner_status
        {
            get;
            set;
        }

        public string icm_con_name_th
        {
            get;
            set;
        }

        public string icm_bid_name
        {
            get;
            set;
        }

        public Nullable<int> created_by
        {
            get;
            set;
        }

        public Nullable<DateTime> created_when
        {
            get;
            set;
        }

        public Nullable<int> updated_by
        {
            get;
            set;
        }

        public Nullable<DateTime> updated_when
        {
            get;
            set;
        }
    }
}
